Pod::Spec.new do |s|
	#验证方法1：pod lib lint UICollectionViewCJHelper.podspec --sources='https://github.com/CocoaPods/Specs.git,https://gitee.com/dvlproad/dvlproadSpecs' --allow-warnings --use-libraries --verbose
  #验证方法2：pod lib lint UICollectionViewCJHelper.podspec --sources=master,dvlproad --allow-warnings --use-libraries --verbose
  #提交方法： pod repo push dvlproad UICollectionViewCJHelper.podspec --sources=master,dvlproad --allow-warnings --use-libraries --verbose
  s.name         = "UICollectionViewCJHelper"
  s.version      = "0.1.2"
  s.summary      = "UICollectionView的Select"
  s.homepage     = "https://gitee.com/dvlproad/UIKit-List-iOS.git"

  #s.license      = "MIT"
  s.license      = {
    :type => 'Copyright',
    :text => <<-LICENSE
              © 2008-2020 dvlproad. All rights reserved.
    LICENSE
  }

  s.author   = { "dvlproad" => "" }
  

  s.description  = <<-DESC
 				           -、Select：列表的各种选择操作
                   -、Move：为列表添加长按手势，利用手势的开始、变化、结束实现拖动
                   -、EnableMove：让集合视图本身就可以通过长按来进行拖动(而不用有其他如编辑的按钮来启动拖动)，并且可选择长按后(即拖动前)是否要有抖动效果

                   A longer description of UICollectionViewCJHelper in Markdown format.

                   * Think: Why did you write this? What is the focus? What does it do?
                   * CocoaPods will be using this to generate tags, and improve search results.
                   * Try to keep it short, snappy and to the point.
                   * Finally, don't worry about the indent, CocoaPods strips it!
                   DESC
  

  s.platform     = :ios, "9.0"
 
  s.source       = { :git => "https://gitee.com/dvlproad/UIKit-List-iOS.git", :tag => "UICollectionViewCJHelper_0.1.2" }
  #s.source_files  = "CJDemoCommon/*.{h,m}"
  #s.source_files = "CJChat/TestOSChinaPod.{h,m}"

  s.frameworks = "UIKit"

  s.requires_arc = true

  # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
  # s.dependency "JSONKit", "~> 1.4"

  # 列表选择操作
  s.subspec 'Select' do |ss|
    ss.source_files = "UICollectionViewCJHelper/Select/**/*.{h,m}"
  end

  # 列表拖动手势
  s.subspec 'Move' do |ss|
    ss.source_files = "UICollectionViewCJHelper/Move/**/*.{h,m}"
  end

  # 让集合视图本身就可以通过长按来进行拖动(而不用有其他如编辑的按钮来启动拖动)，并且可选择长按后(即拖动前)是否要有抖动效果
  s.subspec 'EnableMove' do |ss|
    ss.source_files = "UICollectionViewCJHelper/EnableMove/**/*.{h,m}"
    ss.dependency "UICollectionViewCJHelper/Move"
    ss.dependency "CJBaseUIKit/UIView/CJShakeAction"
  end

  
end
